package cn.ibdsr.human.db.model;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 求职者信息表
 * </p>
 *
 * @author cdl
 * @since 2021-08-03
 */
public class UserDetail extends Model<UserDetail> {

    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 性别：0男 1女
     */
    private Integer gender;

    /**
     * 身份证号码
     */
    private String idCardNo;

    /**
     * 政治面貌
     */
    @TableField(updateStrategy  = FieldStrategy.IGNORED)
    private Integer politic;

    /**
     * 文化程度
     */
    @TableField(updateStrategy  = FieldStrategy.IGNORED)
    private Integer education;

    /**
     * 婚庆情况：0未婚 1已婚
     */
    @TableField(updateStrategy  = FieldStrategy.IGNORED)
    private Integer married;

    private Integer experience;

    /**
     * 岗位要求
     */
    @TableField(updateStrategy  = FieldStrategy.IGNORED)
    private String jobRequire;

    /**
     * 薪资要求
     */
    @TableField(updateStrategy  = FieldStrategy.IGNORED)
    private String salary;

    /**
     * 专业特长
     */
    private String major;

    /**
     * 所在省ID
     */
    private String provinceId;

    /**
     * 所在省名称
     */
    private String province;

    /**
     * 所在市ID
     */
    private String cityId;

    /**
     * 所在市名称
     */
    private String city;

    /**
     * 所在区县ID
     */
    private String districtId;

    /**
     * 所在区县名称
     */
    private String district;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建者ID
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改者ID
     */
    private Long updateUser;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否删除（0-否；1-是；）
     */
    private Boolean isDeleted;

    /**
     * 状态（0-求职中；1-在职）
     */
    private Integer jobStatus;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public Integer getPolitic() {
        return politic;
    }

    public void setPolitic(Integer politic) {
        this.politic = politic;
    }

    public Integer getEducation() {
        return education;
    }

    public void setEducation(Integer education) {
        this.education = education;
    }

    public Integer getMarried() {
        return married;
    }

    public void setMarried(Integer married) {
        this.married = married;
    }

    public Integer getExperience() {
        return experience;
    }

    public void setExperience(Integer experience) {
        this.experience = experience;
    }

    public String getJobRequire() {
        return jobRequire;
    }

    public void setJobRequire(String jobRequire) {
        this.jobRequire = jobRequire;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrictId() {
        return districtId;
    }

    public void setDistrictId(String districtId) {
        this.districtId = districtId;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDeleted() {
        return isDeleted;
    }

    public void setDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(Integer jobStatus) {
        this.jobStatus = jobStatus;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "UserDetail{" +
        "id=" + id +
        ", name=" + name +
        ", age=" + age +
        ", gender=" + gender +
        ", idCardNo=" + idCardNo +
        ", politic=" + politic +
        ", education=" + education +
        ", married=" + married +
        ", experience=" + experience +
        ", jobRequire=" + jobRequire +
        ", salary=" + salary +
        ", major=" + major +
        ", provinceId=" + provinceId +
        ", province=" + province +
        ", cityId=" + cityId +
        ", city=" + city +
        ", districtId=" + districtId +
        ", district=" + district +
        ", address=" + address +
        ", remark=" + remark +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        ", isDeleted=" + isDeleted +
        ", jobStatus=" + jobStatus +
        "}";
    }
}
